stripping -n in a readlines for a pytgon file

113

stripping /n in a readlines for a pytgon file -

alist = [line.rstrip() for line in open('filename.txt')]

Comments

Submit
0 Comments